package com.kedacom.freedomLabel.initdata.bean;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;

/**
 * Created by yao on 2021/3/24.
 * Describe
 */

@Entity
public class MachineNumber {

    @NonNull
    @PrimaryKey(autoGenerate = true)
    private long id;

    private String machineName;

    @NonNull
    public long getId() {
        return id;
    }

    public void setId(@NonNull long id) {
        this.id = id;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }


    @Override
    public String toString() {
        return "MachineNumber{" +
                "id=" + id +
                ", machineName='" + machineName + '\'' +
                '}';
    }
}
